package cn.egame.extraction.util;

import cn.egame.interfaces.EnumType.AppParameterParamType;

public class DateType {
	public enum TimeType {
		day(1, RankType.day), week(7, RankType.week), month(30, RankType.month), total(
				-1, RankType.total),free(-2,RankType.free);
		private int value;
		private RankType rankType;
		/**
		 * @return the rankType
		 */
		public RankType getRankType() {
			return rankType;
		}

		/**
		 * @return the value
		 */
		public int getValue() {
			return value;
		}

		private TimeType(int value, RankType rankType) {
			this.value = value;
			this.rankType = rankType;
		}

	}

	public enum RankType {
		day(AppParameterParamType.is_rank_day), week(
				AppParameterParamType.is_rank_week), month(AppParameterParamType.is_rank_month), total(
						AppParameterParamType.is_rank_total),free(AppParameterParamType.is_rank_free);
		
		
		
		private AppParameterParamType value;

		/**
		 * @return the value
		 */
		public AppParameterParamType getValue() {
			return value;
		}

		private RankType(AppParameterParamType value) {
			this.value = value;
		}
	}
}
